package demo_reflect;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class App {

}

class User{
	private int id;
	private String name;
	private int age;
	public User(int id, String name, int age) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
	}
}

interface UserMapper{
	public User getUserById(int id);
}


class MapperProxy implements InvocationHandler {

	@Override
	public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
		// TODO Auto-generated method stub
		return null;
	}
	
}
